package com.dzf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_permission")
public class Permission {
    @TableId(type= IdType.AUTO)
    private int id;
    @TableField("permission_uri")
    private String permissionUri;
    @TableField("permission_name")
    private String permissionName;
    @TableField("permission_auth")
    private String permissionAuth;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPermissionUri() {
        return permissionUri;
    }

    public void setPermissionUri(String permissionUri) {
        this.permissionUri = permissionUri;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getPermissionAuth() {
        return permissionAuth;
    }

    public void setPermissionAuth(String permissionAuth) {
        this.permissionAuth = permissionAuth;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "id=" + id +
                ", permissionUri='" + permissionUri + '\'' +
                ", permissionName='" + permissionName + '\'' +
                ", permissionAuth='" + permissionAuth + '\'' +
                '}';
    }

}
